package cn.timetable.service.impl;

import cn.timetable.dao.StudentMapper;
import cn.timetable.domain.Student;
import cn.timetable.service.StudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class IStudentServiceImpl implements StudentService {

    @Autowired
    private StudentMapper studentMapper;


    @Override
    public Student queryStudent(String name, String password) {
        return studentMapper.queryStudent(name, password);
    }
}
